package com.community.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ToDo:
 * @Author：高尚磊
 * @date: 2024/6/13 15:51
 */
@Getter
@Setter
@Data
public class OwnerVO {

 @ExcelProperty("主键")
@TableId(type = IdType.AUTO )
private  Long id;
    @ExcelProperty("昵称")
    private String name;
    @ExcelProperty("房产名称")
    private String homeName;
    @ExcelProperty("业主姓名")
    private String ownerName;
    @ExcelProperty("民族")
    private String nation;
    @ExcelProperty("手机号")
    private String phone;
    @ExcelProperty("身份证号")
    private String peopleCard;
    @ExcelProperty("出生日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    @ExcelProperty("婚姻状态")
    private String maritalState;
    @ExcelProperty("户口类型")
    private String reType;
    @ExcelProperty("现住地址")
    private String address;
    @ExcelProperty("类型")
    private String type;
    @ExcelProperty("性别")
    private String sex;
    @ExcelProperty("户籍所在地")
    private String reAddress;
    @ExcelProperty("政治面貌")
    private String politics;
    @ExcelProperty("居住类型")
    private String dwellType;
    @ExcelProperty("居住证号")
    private String dwellCard;
    @ExcelProperty("创建日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @ExcelProperty("id")
    private Integer rid;
    private String status;
    private String communityName;    //社区名称
    private String buildingName;      //楼宇名称
    private Long unitCount;      //单元数
    private String roomNumber;     //房间号
    private String rname;
    private String rsex;
    private String raddress;
    private String relation;
    private String rphone;
//    private Long hid;
//    private String mname;
//    private String mphone;
//    private String mrelation;
//    private String mcardNum;
}